package extendandpolymorphism;

/**
 * @author shkstart
 * @date 2022/5/11 - 13:04
 */
public class CylinderTest {
    public static void main(String[] args) {
        Cylinder cylinder = new Cylinder();

        double Area = cylinder.findArea(); //圆的表面积
        System.out.println("圆的表面积：" + Area);
        double Volume = cylinder.findVolume();//圆的体积
        System.out.println("圆的体积: " + Volume);
    }
}
